package com.app.teaware.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.google.gson.annotations.SerializedName;

import java.util.Locale;

public class StockListData extends BasisBean {


    private static final long serialVersionUID = 1L;



    //旧接口stock/getDataByLoc
    /**
     *{
     *   "code": 200,
     *   "message": "查询成功！",
     *   "data": [
     *     {
     *       "cno": null,
     *       "cid": "2108140004",
     *       "gid": "2108070001",
     *       "gno": "111",
     *       "gna": "2021一级绿茶",
     *       "gsp": "规格3",
     *       "gun": "kg",
     *       "rfid": "D6100004",
     *       "num": 100,
     *       "wgt": 100,
     *       "loc1": "D6100004",
     *       "loc2": "D6100004",
     *       "cfs": null,
     *       "cmo": null
     *     }]
     */
    //新接口stock/getDataByWms
    /*
      {
        "aid": "2",
        "rfid": "D6100003",	//箱码rfid
        "wms1": "11012000",	//库位，旧loc1
        "wms2": "11012000",	//库位，旧loc2
        "gcd": "110011",
        "gno": "5m003200050000",	//货品编号
        "gna": "2021明前三级牡丹",//货品名称
        "gsp": "10斤/箱",		//货品规格
        "gun": "箱",
        "gwtp": 500,		//每个货品的重量
        "gnu1": 4,		//数量，旧num
        "gwt1": 4,		//重量，旧wgt
        "gnu2": null,		//盘点数量
        "gwt2": null		//盘点重量
     }
     */

    private String cno;
    private String cid;
    private String gid;
    private String gno;
    private String gna;
    private String gsp;
    private String gun;
    private String rfid;
    private String gnu1;       //旧num
    private String gwt1;       //旧wgt
    private String wms1;    //旧loc1
    private String wms2;    //新库位
    private String cfs;
    private String cmo;
    private String gwtp;


    public String getWms() {
        return wms;
    }

    public void setWms(String wms) {
        this.wms = wms;
    }

    //    {
//        "wms": "D6111989"
//    }
    private String wms;


    @JSONField(serialize = false)
    private boolean isSelect = false;



    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getGno() {
        return gno;
    }

    public void setGno(String gno) {
        this.gno = gno;
    }

    public String getGna() {
        return gna;
    }

    public void setGna(String gna) {
        this.gna = gna;
    }

    public String getGsp() {
        return gsp;
    }

    public void setGsp(String gsp) {
        this.gsp = gsp;
    }

    public String getGun() {
        return gun;
    }

    public void setGun(String gun) {
        this.gun = gun;
    }

    public String getRfid() {
        return rfid;
    }

    public void setRfid(String rfid) {
        this.rfid = rfid;
    }

    public String getGnu1() {
        return gnu1;
    }

    public void setGnu1(String gnu1) {
        this.gnu1 = gnu1;
    }

    public String getGwt1() {
        return gwt1;
    }

    public void setGwt1(String gwt1) {
        this.gwt1 = gwt1;
    }

    public String getGwtp() {
        return gwtp;
    }

    public void setGwtp(String gwtp) {
        this.gwtp = gwtp;
    }

    public String getWms1() {
        return wms1;
    }

    public void setWms1(String wms1) {
        this.wms1 = wms1;
    }

    public String getWms2() {
        return wms2;
    }

    public void setWms2(String wms2) {
        this.wms2 = wms2;
    }

    public String getCfs() {
        return cfs;
    }

    public void setCfs(String cfs) {
        this.cfs = cfs;
    }

    public String getCmo() {
        return cmo;
    }

    public void setCmo(String cmo) {
        this.cmo = cmo;
    }

    @JSONField(serialize = false)
    public boolean isSelect() {
        return isSelect;
    }
    @JSONField(serialize = false)
    public void setSelect(boolean select) {
        isSelect = select;
    }

}
